<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<SCRIPT src="/js/jquery/jquery-1.7.2.js" type=text/javascript></SCRIPT>
<script type="text/javascript">
	var objInterval;
	var timers=5;
	var interval=1000;
		//启动定时器，开始滚动
		$(function(){
			objInterval=setInterval("changeTimer()",interval);
		});
		//清除定时器，停止滚动
		function StopTimer(){
			window.clearInterval(objInterval);
		}
		
		function changeTimer(){
			if(timers>0){
				timers=timers-1;
				 $("#changeTime").html("还有 "+timers+" 秒");
			}else{
				 StopTimer();
				  window.location.href="http://fengchengyi.gotoip4.com/control/book/cart_sell.go";    
			}
		}
		function jump(){
			StopTimer();
			window.location.href="http://fengchengyi.gotoip4.com/control/book/cart_sell.go";
		}
</script>
</head>
<body>
<center>
	<p id="changeTime">还有 5 秒</p>
	<p><input type="button" value="确定" onclick="jump()"></p>
	${message }
</center>
</body>
</html>